// useManageInfo.ts
import { useSelector } from 'react-redux';
import { StateType } from '../store';
import { manageType } from '../store/manage';

export function useManageInfo(): manageType[] {
    const manageState = useSelector<StateType>(state => state.manage) as manageType[];
    return manageState;
}